//
// Created by lenovo on 25-5-1.
//

#include "GoodGay.h"
#include "Building.h"
GoodGay::GoodGay() {
    building = new Building;
}
void GoodGay::visit() {
    cout<<"好基友Tom访问->"<<building->m_SittingRoom<<endl;
    cout<<"好基友Tom访问->"<<building->m_BeddRoom<<endl;
}
void GoodGay::visit_2() {
    cout<<"好基友Tom访问->"<<building->m_SittingRoom<<endl;
    //    cout<<"好基友访问->"<<building->m_BeddRoom<<endl;
}
